package com.naiterui.ehp.bs.cms.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <pre>
 *
 * </pre>
 *
 * @author 王泽浩
 * @date 2019-06-19 16:33
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_sku_image")
public class SkuImage extends BaseEntity implements java.io.Serializable {
    private static final long serialVersionUID = -4641266825839036854L;

    /**
     * 大图
     */
    public static final int TYPE_BIG = 1;
    /**
     * 缩略图
     */
    public static final int TYPE_THUMB = 2;
    /**
     * ICON
     */
    public static final int TYPE_ICON = 3;

    /**
     * 商品id
     */
    private Long skuId;

    /**
     * 文件路径
     */
    private String path;

    /**
     * 文件类型 1：大图 2：缩略图
     */
    private Integer type;

}
